import Index from '@/views/Index'
const user = {
    path: '/user',
    name: 'user',
    redirect: '/user/list',
    component: Index,
    children: [
        {
            path: 'list',
            component: () => import('@/views/user/List.vue'),
            name: 'user_list',
            meta: {
                title: '用户列表',
                auth: true,
                breadcrumb: [{
                    title: '用户管理',
                    path: '/user'
                }, {
                    title: '用户列表',
                    path: '/user/list'
                }]
            }
        }, {
            path: 'add',
            component: () => import('@/views/user/Add.vue'),
            name: 'user_add',
            meta: {
                title: '添加用户',
                auth: true,
                breadcrumb: [{
                    title: '用户管理',
                    path: '/user'
                }, {
                    title: '添加用户',
                    path: '/user/add'
                }]
            }
        }
    ]
}
export default user